package websocket.entity;

/**
 * 航向信息，位置信息
 *
 * @author nieruijie
 * @date 2022/5/21 23:10
 */
public class HangXiangDO {

    /**
     * 位置类型
     */
    private String posType;
    /**
     * 基线长 (0 到 3000 m
     */
    private Double length;
    /**
     * 航向 (0 到 360.0 deg)
     */
    private Double heading;
    /**
     * 俯仰(±90
     */
    private Double pitch;
    /**
     * 使用的卫星数
     */
    private Long solnSVs;
    /**
     * 维度
     */
    private Double lat;
    /**
     * 经度
     */
    private Double lon;
    /**
     * 海拔高
     */
    private Double hgt;
    /**
     * 差分龄期
     */
    private Double diffAge;

    public String getPosType() {
        return posType;
    }

    public void setPosType(String posType) {
        this.posType = posType;
    }

    public Double getLength() {
        return length;
    }

    public void setLength(Double length) {
        this.length = length;
    }

    public Double getHeading() {
        return heading;
    }

    public void setHeading(Double heading) {
        this.heading = heading;
    }

    public Double getPitch() {
        return pitch;
    }

    public void setPitch(Double pitch) {
        this.pitch = pitch;
    }

    public Long getSolnSVs() {
        return solnSVs;
    }

    public void setSolnSVs(Long solnSVs) {
        this.solnSVs = solnSVs;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLon() {
        return lon;
    }

    public void setLon(Double lon) {
        this.lon = lon;
    }

    public Double getHgt() {
        return hgt;
    }

    public void setHgt(Double hgt) {
        this.hgt = hgt;
    }

    public Double getDiffAge() {
        return diffAge;
    }

    public void setDiffAge(Double diffAge) {
        this.diffAge = diffAge;
    }

    @Override
    public String toString() {
        return "HangXiangDO{" +
                "posType='" + posType + '\'' +
                ", length=" + length +
                ", heading=" + heading +
                ", pitch=" + pitch +
                ", solnSVs=" + solnSVs +
                ", lat=" + lat +
                ", lon=" + lon +
                ", hgt=" + hgt +
                ", diffAge=" + diffAge +
                '}';
    }
}
